package lab02.text13;

public class School extends ComputerAverage {
    //直接是总分除以总科目
    @Override
    double average() {
        double sum=0;
        for(int i=1;i<5;i++){
            sum +=scores[i];

        }
        return sum/5;

    }
}

